package aufgabe_2_test.try02;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.ArrayList;

/**
 * information structure for the master, contains
 * all the information to start the process
 * @author J. Quenzel & R. Flaegel
 *
 */
public class RhoRequestMaster implements Serializable {
	private static final long serialVersionUID = 840244832287440949L; 
	/**
	 * represent the N in Rho method
	 */
	BigInteger n;
	/**
	 * contains the host informations of worker
	 */
	ArrayList<WorkerObject> workerList;
	
	public RhoRequestMaster(BigInteger n, ArrayList<WorkerObject> workerList) {
		this.n = n;
		this.workerList = workerList;
	}
	

	public BigInteger getN() {
		return n;
	}
	
	public ArrayList<WorkerObject> getWorkerList() {
		return workerList;
	}
	
	public void setWorkerList(ArrayList<WorkerObject> workerList) {
		this.workerList = workerList;
	}



}
